package com.gitee.wsl.platform.thread

import kotlinx.cinterop.UnsafeNumber
import kotlin.math.max


@OptIn(UnsafeNumber::class)
actual val threadCount: Int
    get() =2 //max(2, sysconf(_SC_NPROCESSORS_ONLN).toInt())